﻿

// =================================================================== 
// Module说明
//====================================================================
// 创建时间：2018-12-13 12:49:29
// 负责人：lvsc
// ===================================================================

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using OF.Component.Model;
namespace OF.Component.IDAL
{
	
	/// <summary>
	///订单费用 数据访问层接口  
	/// </summary>
	internal partial interface INetWorkFeeConfig
	{
		
         /// <summary>
    	 /// 根据断言条件获取单个订单费用
    	 /// </summary>
    	 NetWorkFeeConfigInfo QuerySingle(Expression<Func<NetWorkFeeConfigInfo, bool>> predicate);
         
         /// <summary>
    	 /// 根据断言条件获获取订单费用列表
    	 /// </summary>
	     IList<NetWorkFeeConfigInfo> QueryList(Expression<Func<NetWorkFeeConfigInfo, bool>> predicate);


        /// <summary>
        /// 根据城市和业务获取价格
        /// </summary>
        /// <param name="citId"></param>
        /// <param name="bizTypeId"></param>
        /// <returns></returns>
        List<NetWorkFeeConfigInfo> GetFeeConfigs(int citId, int bizTypeId);

        /// <summary>
        /// 批量取消价格配置
        /// </summary>
        /// <param name="feeConfigIds"></param>
        /// <returns></returns>
        bool BatchCancelFeeConfigByIds(List<int> feeConfigIds, int cityId, int bizTypeId, int updateUserId);
    } 

	
}